function Student(stuno,stuName,age,sex,hobby){
    //定义属性（特征）
    this.stuno=stuno;
    this.stuName=stuName;
    this.age=age;
    this.sex=sex;
    this.hobby=hobby;
    //定义方法（行为）
    var stu="English";
    this.study=function(){
        return stu;
    };
    this.eat=function(){

    };
    this.sleep=function(){

    };
}
var s1=new Student('5468498452','zhangsan',18,'male','game');
console.log(s1);

function Phone(clq,yc,nc,sxl,dc,os){
    this.clq=clq;
    this.yc=yc;
    this.nc=nc;
    this.sxl=sxl;
    this.dc=dc;
    this.os=os;
    this.yunxing=function(){

    };
}
var p1=new Phone('888','16','512','120','5500mA','Android');
console.log(p1);
